Skip to content

Rework "long type names" printing logic - #136328

Merged
bors merged 1 commit into
rust-lang:masterfrom
estebank:long-ty-path
Feb 2, 2025
Merged

Rework "long type names" printing logic#136328
bors merged 1 commit into
rust-lang:masterfrom
estebank:long-ty-path

Conversation

@estebank

Copy link
Copy Markdown
Contributor

Make it so more type-system types can be printed in a shortened version (like Predicates).

Centralize printing the information about the "full type name path".

Make the "long type path" for the file where long types are written part of Diag, so that it becomes easier to keep track of it, and ensure it will always will be printed out last in the diagnostic by making its addition to the output implicit.

Tweak the shortening of types in "expected/found" labels.

Remove dead file note.rs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants